namespace CHEnhanceEfCore.Extension
{
    /// <summary>
    /// 字符串的扩展 注意使用this 该类必须声明为静态类
    /// </summary>
    public static class StringExtension
    {
        /// <summary>
        /// 判断字符串是否为空
        /// </summary>
        /// <param name="str"></param>
        /// <returns></returns>
        public static bool isNull(this string str)
        {
            return string.IsNullOrWhiteSpace(str);
        }
    }
}